package com.example.wlzz.repository;

import com.example.wlzz.entity.DepartmentWeb;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface DepartmentWebRepository  extends JpaRepository<DepartmentWeb,Integer> {
    DepartmentWeb findByName(String name);
    List<DepartmentWeb> findBySchoolId(String schoolId);
}
